package com.smart.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("项目使用控制请求模型")
public class ProjectUseControlRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("项目id")
    private Long projectId;
    @ApiModelProperty("人员管理开通状态 OPENED 已开通，UN_OPEN未开通")
    private String manageOpenStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("人员管理有效期至")
    private Date manageOpenExpire;
    @ApiModelProperty("数据提报开通状态 OPENED 已开通，UN_OPEN未开通")
    private String reportOpenStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("数据提报有效期至")
    private Date reportOpenExpire;
    @ApiModelProperty("动火作业开通状态 OPENED 已开通，UN_OPEN未开通")
    private String hotWorkOpenStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("动火作业有效期至")
    private Date hotWorkOpenExpire;
    @ApiModelProperty("作业次数上限")
    private Long hotWorkMax;
    @ApiModelProperty("可作业次数")
    private Long hotWorkAvailableNum;
}
